package io.gitee.xyuesheng.day04;

import org.junit.Test;

public class TestAnimal {
    @Test
    public void testAbstractClass() {
        //抽象类不能被实例化
        //Animal aninal=new Animal();

        Animal dog = new Dog();
        dog.shout();
    }
}
